RebroadcastMode

enum RebroadcastMode : ProtocolMessageEnum

Defines the device's behavior for how messages are rebroadcast
Protobuf enum meshtastic.Config.DeviceConfig.RebroadcastMode

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Same as behavior as ALL but skips packet decoding and simply rebroadcasts them.
Only available in Repeater role. Setting this on any other roles will result in ALL behavior.
ALL_SKIP_DECODING = 1;
Link copied to clipboard
val ALL_VALUE: Int = 0

Default behavior.
Rebroadcast any observed message, if it was on our private channel or from another mesh with the same lora params.
ALL = 0;
Link copied to clipboard

Ignores packets from non-standard portnums such as: TAK, RangeTest, PaxCounter, etc.
Only rebroadcasts packets with standard portnums: NodeInfo, Text, Position, Telemetry, and Routing.
CORE_PORTNUMS_ONLY = 5;
Link copied to clipboard

Ignores observed messages from foreign meshes like LOCAL_ONLY,
but takes it step further by also ignoring messages from nodenums not in the node's known list (NodeDB)
KNOWN_ONLY = 3;
Link copied to clipboard

Ignores observed messages from foreign meshes that are open or those which it cannot decrypt.
Only rebroadcasts message on the nodes local primary / secondary channels.
LOCAL_ONLY = 2;
Link copied to clipboard
val NONE_VALUE: Int = 4

Only permitted for SENSOR, TRACKER and TAK_TRACKER roles, this will inhibit all rebroadcasts, not unlike CLIENT_MUTE role.
NONE = 4;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.DeviceConfig.RebroadcastMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.